home *** CD-ROM | disk | FTP | other *** search
/ Amoszine 10 / Amoszine 10 (Disk 3 of 3).adf / Text_Files.lha / wbmouse_amos.txt < prev   
Text File  |  1995-12-11  |  4KB  |  91 lines

  1.  PK> Hi Andy.
  2.  
  3.  PK> On 2 Jun 95 Andy Bailey wrote to All:
  4.  
  5.  AB>> I cant get the mouse to change colour ! my current project runs under a
  6.  AB>> simulated WB 2.0 requester type environment, but I cant get the mouse
  7.  AB>> to go the same colour as the one you see on a standard workbench :(((
  8.  
  9.  PK> The mouse pointer is sprite 0 which uses pens 16-19 in the palette for
  10.  PK> it's colours. The easiest way to do this is to set the default palette
  11.  PK> before you open any screens but the flashing cursor screws up colour 3
  12.  PK> so you might want to do something like:
  13.  
  14. does the pen colours the mouse sprite uses change if I am using an 8 colour
  15. screen? do I still have to assign colours 16-19 to it?
  16.  
  17.  PK> Screen Open 0,640,256,8,Hires
  18.  PK> Flash Off : Curs Off
  19.  PK> Palette $AAA,0,$FFF,$68B,$999,$BBB,$A87,$FB9,,,,,,,,,0,$EEC,$E44,0
  20.  PK> Colour Back $AAA
  21.  
  22.  PK> This will set up a MagicWB style palette and set the default Amos
  23.  PK> pointer to use workbench style colours. Colour 16 is the 'transparent'
  24.  PK> colour so it doesn't matter what you set it to, you'll never see it in
  25.  PK> the pointer.
  26.  
  27. cool, I'll try it when I get the time
  28.  
  29.  AB>> I have tried the object editor and grabbing a screen shot of my
  30.  AB>> workbench and then cut out the mouse pointer so it was an 8 colour
  31.  AB>> 16x16 sprite, then I put Change mouse 5 : get sprite palette
  32.  
  33.  PK> Won't work. You have to use 4 colour bobs otherwise Change Mouse will
  34.  PK> just ignore you, the sprites must also be 16 pixels wide, but can be any
  35.  PK> height. Remember to use the Palette command to change the sprite
  36.  PK> colours, not the Get Sprite Palette command.
  37.  
  38.  AB>> and nothing happened! all I got was the standard AmosPro colour pointer
  39.  
  40.  PK> That's Change Mouse for ya, annoying isn't it? It took me days to get
  41.  PK> custom pointers working when I last tried :o(
  42.  
  43. I gave up in the end!, my next problem is finding how to get the program to
  44. load an .iff sample into a memory bank so I can use sam play 1 :( I can load
  45. the sample, and I can play it using sam raw but its not what I want to do, and
  46. I need the sample to be in a bank.
  47.  
  48.  AB>> I did have some success changeing the sprite palette and then I got the
  49.  AB>> pointer in all the wrong colours and when I got the pointer the right
  50.  AB>> colours, the screens went wrong!! pah!
  51.  
  52.  PK> That's because the Get Sprite Palette command will get the whole palette
  53.  PK> unless you tell it otherwise, what you would normally do is edit the
  54.  PK> sprites in 32 or 64 colour mode in the object editor and set up your
  55.  PK> screen and sprite colours there. Then a simple Get Sprite Palette
  56.  PK> command would set up your sprite and screen colours all at once. The
  57.  PK> command is really meant for use with sprites, not the pointer.
  58.  
  59. oh I see, this helps alot, thanks!
  60.  
  61.  AB>> please help , I bet its something wayyy simple
  62.  
  63.  PK> In theory, yes, but Amos makes it hard work.
  64.  
  65. some things are hard to grasp with Amos but other things just fall into place
  66. quite easily, I do like the way it programs tho, I've made some nice programs
  67. with it.
  68.  
  69.  PK> See ya,
  70.  PK> __Y,n,c): 
  71.  PK> |_)_ _ _|
  72.  PK> | (_|(_)l
  73.  
  74. thanks again
  75.  
  76.  PK>  * AmyBW v2.10 *
  77.  PK> --- Blue Wave/RA v2.10 AmyBW [NR]
  78.  PK>  * Origin: Aspects BBS - Manchester UK - (0161)-792-0260 (2:250/107.0)
  79.  
  80. got any good stuff on here^^ ? (amos stuff, I mean)
  81.  
  82.    _____  _____  _____  _____                  .________________________. 
  83.   /____/\/____/\/____/\/_/__/\   Fidonet:      |      Moderator of      |  
  84.  /  __ \/  _  \/ __  \/  \  \ \  2:2500/179.17 |   Magic The Gathering  |
  85.  \  \_  \  \\  \  \\  \____  \ \               |          echo          |
  86.   \  \\  \  \\  \  \\  \   \  \/ Internet:     ^------------------------^
  87.    \_/ \_/\_/ \_/\_/\__/\_____/andy@phackser.quantum.conqueror.co.uk  ...
  88.  
  89. ... UserInfo1.00:CACJCFCIKDIDFEFCDEEHIICHHGBENLGKGG
  90.  
  91.